export function systemInfo() {
  var userAgent=navigator.userAgent;
  var isAndroid = userAgent.indexOf('Android') > -1 || userAgent.indexOf('Adr') > -1;
  var isiOS = !!userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
  if (isAndroid){
    return 'android'
  }else if (isiOS){
    return 'ios'
  }else {
    return 'none'
  }
}
